<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/5/14
  Time: 13:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
    <h1>你好！</h1>
   <div>Hello</div>
   <%--虚拟路径（配置）+Servlet别名（注解配置） --%>
   <a href="/web/myHttpServlet">Get请求</a>

    <%-- 点击提交按钮，会调用相应的Servlet（action定义）--%>
   <form action="/web/myHttpServlet" method="post">
    用户名： <input type="text" name="username"> <br>
     密码：<input type="password" name="password"><br>
     <input type="submit" value="提交">
   </form>

  </body>
</html>
